Make Butler Actions pane scrollable when content overflows #10511
+9
−3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
The "Butler Actions" pane's empty state (welcome screen with setup instructions) was not scrollable when the content exceeded the viewport height. This resulted in content being cut off and inaccessible to users, particularly when the pane was resized to a smaller height.
Solution
Fixed the scrolling behavior by updating the CSS for
.feed__empty-state
and.feed__empty-state__content
inFeed.svelte
:Key changes:
min-height: 100%
toheight: 100%
on.feed__empty-state
to create a proper scrolling containeroverflow-y: auto
to enable vertical scrolling when content overflowsoverflow-x: hidden
to prevent unwanted horizontal scrolling.feed-list
pattern for visual consistency).feed__empty-state__content
margin frommargin-bottom: 40px
tomargin: auto 0
to center content vertically when it fits, while still allowing scrolling when it doesn'tVisual Demonstration
The demonstration shows:
Technical Details
The fix maintains the centered appearance of content when it fits within the viewport while enabling scrolling when needed. This is achieved using
margin: auto 0
on the content wrapper, which:The scrollbar is hidden to maintain visual consistency with the existing
.feed-list
component that displays Butler Actions entries.Impact
Original prompt
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.